package com.ryan.mms.privilage.dao;

import java.io.Serializable;
import java.util.List;

import com.ryan.framework.dao.BaseHibernateDao;
import com.ryan.framework.model.Model;
import com.ryan.framework.tag.pagination.Page;

public interface ApplicationDao<M extends Model,PK extends Serializable> extends BaseHibernateDao<M,Long>{
	public List<M> findByApplication(M t);
	public List<M> findByApplication(M t,Page page);
	public void deleteByApplicationIds(List<Long> pks);
	public void deleteByApplicationIds(String pks);
}
